package com.examination.client.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.examination.client.domian.dto.UserInfoDTO;
import com.examination.client.entity.SystemUserPermission;
import com.examination.client.entity.UserInfo;

import java.util.List;

/**
 * <p>
 * 用户菜单表 服务类
 * </p>
 *
 * @author xiaoding
 * @since 2021-02-15
 */
public interface IUserMenuService extends IService<SystemUserPermission>  {

    Boolean save(UserInfo userInfo, List<Integer> menuList)throws Exception;

    Boolean modify(UserInfoDTO userInfoDTO)throws Exception;

    List<SystemUserPermission> findByUserId(String userId);

}
